package ooday02.animal;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog=new Dog("小黑",2,"白");
        dog.eat();
        dog.drink();
        dog.lookHome();

        Chick chick = new Chick("小花",1,"花");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Fish fish = new Fish("小金",2,"金");
        fish.eat();
        fish.drink();
    }
}
